package cn.foolishbird.crow.pay;


import javax.servlet.http.HttpServletRequest;

/**
 * 解析三方通知加密消息策略
 *
 * @author foolish-bird
 */
public interface AnalysisStrategy<T> {

    /**
     * 解析三方通知加密消息
     *
     * @param request
     * @return
     */
    T analysis(HttpServletRequest request) throws Exception;

}
